<template>
<div>
  <h1>{{ msg }}</h1>
  <p>
    Check out
    <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank">create-vue</a>, the official Vue + Vite
    starter
  </p>
  <p>
    Install
    <a href="https://github.com/vuejs/language-tools" target="_blank">Volar</a>
    in your IDE for a better DX
  </p>
  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
  </div>
</template>


<script>
import _ from "lodash";
export default {
  name: 'HelloWorld',
  props: {
    // 是否默认展开全部筛选条件
    msg: {
      type: String,
      default: ''
    },
  },
  data() {
    return {
      title: "标题"
    };
  },
  mounted() {
    const obj = { a: 1, b: 2, c: 3 }
    _.map(obj, (value, key) => {
      console.log(key + value)
    });
  },
  methods: {
    initFromData() {

    },
  },
}
</script>

<style scoped>
.read-the-docs {
  color: #888;
}
</style>